package com.ai.test2.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Date:  2018/11/5
 * Time:  13:44
 * Email: siy@hmgsoft.com
 * Created by siy
 */
@FeignClient(value = "service-consumer",fallback = Fallback.class)
public interface ConsumerClient {

	@GetMapping("/v1/update")
	String update();
}
